Optimal. Leaf size=196 \[ \frac {2 \cot (e+f x) (a+b \sec (e+f x)) \sqrt {-\frac {(b c-a d) (1-\sec (e+f x))}{(c+d) (a+b \sec (e+f x))}} \sqrt {\frac {(b c-a d) (\sec (e+f x)+1)}{(c-d) (a+b \sec (e+f x))}} \Pi \left (\frac {b (c+d)}{(a+b) d};\sin ^{-1}\left (\frac {\sqrt {\frac {a+b}{c+d}} \sqrt {c+d \sec (e+f x)}}{\sqrt {a+b \sec (e+f x)}}\right )|\frac {(a-b) (c+d)}{(a+b) (c-d)}\right )}{d f \sqrt {\frac {a+b}{c+d}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 196, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.029, Rules used = {3982} \[ \frac {2 \cot (e+f x) (a+b \sec (e+f x)) \sqrt {-\frac {(b c-a d) (1-\sec (e+f x))}{(c+d) (a+b \sec (e+f x))}} \sqrt {\frac {(b c-a d) (\sec (e+f x)+1)}{(c-d) (a+b \sec (e+f x))}} \Pi \left (\frac {b (c+d)}{(a+b) d};\sin ^{-1}\left (\frac {\sqrt {\frac {a+b}{c+d}} \sqrt {c+d \sec (e+f x)}}{\sqrt {a+b \sec (e+f x)}}\right )|\frac {(a-b) (c+d)}{(a+b) (c-d)}\right )}{d f \sqrt {\frac {a+b}{c+d}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3982
Rubi steps
\begin {align*} \int \frac {\sec (e+f x) \sqrt {a+b \sec (e+f x)}}{\sqrt {c+d \sec (e+f x)}} \, dx &=\frac {2 \cot (e+f x) \Pi \left (\frac {b (c+d)}{(a+b) d};\sin ^{-1}\left (\frac {\sqrt {\frac {a+b}{c+d}} \sqrt {c+d \sec (e+f x)}}{\sqrt {a+b \sec (e+f x)}}\right )|\frac {(a-b) (c+d)}{(a+b) (c-d)}\right ) \sqrt {-\frac {(b c-a d) (1-\sec (e+f x))}{(c+d) (a+b \sec (e+f x))}} \sqrt {\frac {(b c-a d) (1+\sec (e+f x))}{(c-d) (a+b \sec (e+f x))}} (a+b \sec (e+f x))}{d \sqrt {\frac {a+b}{c+d}} f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 32.59, size = 44216, normalized size = 225.59 \[ \text {Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {b \sec \left (f x + e\right ) + a} \sec \left (f x + e\right )}{\sqrt {d \sec \left (f x + e\right ) + c}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 2.40, size = 351, normalized size = 1.79 \[ \frac {2 \left (\EllipticF \left (\frac {\left (-1+\cos \left (f x +e \right )\right ) \sqrt {\frac {a -b}{a +b}}}{\sin \left (f x +e \right )}, \sqrt {\frac {\left (a +b \right ) \left (c -d \right )}{\left (a -b \right ) \left (c +d \right )}}\right ) a -\EllipticF \left (\frac {\left (-1+\cos \left (f x +e \right )\right ) \sqrt {\frac {a -b}{a +b}}}{\sin \left (f x +e \right )}, \sqrt {\frac {\left (a +b \right ) \left (c -d \right )}{\left (a -b \right ) \left (c +d \right )}}\right ) b +2 \EllipticPi \left (\frac {\left (-1+\cos \left (f x +e \right )\right ) \sqrt {\frac {a -b}{a +b}}}{\sin \left (f x +e \right )}, \frac {a +b}{a -b}, \frac {\sqrt {\frac {c -d}{c +d}}}{\sqrt {\frac {a -b}{a +b}}}\right ) b \right ) \cos \left (f x +e \right ) \left (\sin ^{2}\left (f x +e \right )\right ) \sqrt {\frac {b +a \cos \left (f x +e \right )}{\cos \left (f x +e \right )}}\, \sqrt {\frac {d +c \cos \left (f x +e \right )}{\cos \left (f x +e \right )}}\, \sqrt {\frac {d +c \cos \left (f x +e \right )}{\left (1+\cos \left (f x +e \right )\right ) \left (c +d \right )}}\, \sqrt {\frac {b +a \cos \left (f x +e \right )}{\left (1+\cos \left (f x +e \right )\right ) \left (a +b \right )}}}{f \left (-1+\cos \left (f x +e \right )\right ) \left (d +c \cos \left (f x +e \right )\right ) \left (b +a \cos \left (f x +e \right )\right ) \sqrt {\frac {a -b}{a +b}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {b \sec \left (f x + e\right ) + a} \sec \left (f x + e\right )}{\sqrt {d \sec \left (f x + e\right ) + c}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\sqrt {a+\frac {b}{\cos \left (e+f\,x\right )}}}{\cos \left (e+f\,x\right )\,\sqrt {c+\frac {d}{\cos \left (e+f\,x\right )}}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {a + b \sec {\left (e + f x \right )}} \sec {\left (e + f x \right )}}{\sqrt {c + d \sec {\left (e + f x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________